<template>
	<view class="tabtitle">
		<view class="name">
			<slot name="title"></slot>
		</view>
		<view class="rest">
			<slot name="rest"></slot>
		</view>
	</view>
</template>

<script setup>
	defineProps(['title'])
</script>

<style lang="scss" scoped>
	 .tabtitle {
		 width: 690rpx;
		 height: 45rpx;
		 margin: 10rpx auto;
		 display: flex;
		 justify-content: space-between;
		 .name {
			 height: 100%;
			 font-size: 40rpx;
			 font-weight: bold;
		 }
		 .rest {
			 height: 100%;
		 }
	 }
</style>